-
-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop Rails < 7.0 support #946
Conversation
1b8e95b
to
f49b784
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #946 +/- ##
=======================================
Coverage 98.92% 98.92%
=======================================
Files 14 14
Lines 557 557
=======================================
Hits 551 551
Misses 6 6 ☔ View full report in Codecov by Sentry. |
s.add_dependency("actionpack", ">= 6.0") | ||
s.add_dependency("railties", ">= 6.0") | ||
s.add_dependency("actionpack", ">= 7.0") | ||
s.add_dependency("railties", ">= 7.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently 6.0 was still supported, but not tested
CHANGELOG.md
Outdated
* Remove support for Ruby `< 3.1`. | ||
* Remove support for Rails `< 7.0`. | ||
* Test against Rails 8.0. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty unexpected that this is not failing like Arbre
Failures:
1) Changelog entry does not end with a punctuation
Failure/Error: expect(entry).not_to match(/\.$/)
expected "* Remove support for Ruby `< 3.1`.\n" not to match /\.$/
Diff:
@@ -1 +1 @@
-/\.$/
+* Remove support for Ruby `< 3.1`.
# ./spec/changelog_spec.rb:24:in `block (4 levels) in <top (required)>'
# ./spec/changelog_spec.rb:[23](https://github.com/activeadmin/arbre/actions/runs/11757484591/job/32754790006?pr=639#step:6:24):in `each'
# ./spec/changelog_spec.rb:23:in `block (3 levels) in <top (required)>'
https://github.com/activeadmin/arbre/actions/runs/11757484591/job/32754790006?pr=639
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, the spec was wrong here. I've fixed the intent. There are a lot of changes in the changelog, but now it is uniform with Arbre and ActiveAdmin (no punctuations at the end of the line). If you prefer, I can invert the spec description and leave dots (but that would not allow easy copy & paste from changelogs, like I did)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I think it’s fine as you have it as it would be easiest for us. Thank you. If anything I may just remove the spec in the future.
f49b784
to
8d3345d
Compare
Additionally, update the changelog by removing all trailing punctuation. Fix the test to ensure it works as described and is consistent with Arbre and ActiveAdmin.
8d3345d
to
6c689b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Additionally, update the changelog by removing all trailing punctuation.
Fix the test to ensure it works as described and is consistent with
Arbre and ActiveAdmin.